package com.fs.ibox_h.vo;

/**
 * Author:HOU
 * date:2022/11/19  18:27
 * 案例: 持仓类
 **/
public class Position {
    private String username;//用户账号
    private Long num;//数量

    public Position() {
    }


    public Position(String username, Long num) {
        this.username = username;
        this.num = num;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Position{" +
                "username='" + username + '\'' +
                ", num=" + num +
                '}';
    }
}
